<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/20
 * Time: 13:06
 */

namespace app\api\controller;

use app\common\controller\Api;
use app\common\model\Back as BackModel;

class Back extends Api
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    public function index()
    {
        $backs = BackModel::all();
        $this->success('成功',[$backs]);
    }
}